<!DOCTYPE html>
<!--
 * Copyright (c) 2010 The Chromium Authors. All rights reserved.  Use of this
 * source code is governed by a BSD-style license that can be found in the
 * LICENSE file.
-->
<html>
  <head>
	<script src="jquery-1.4.2.min.js" />
    <script>
	var host = null;
	$(function() {
		var request = JSON.parse(unescape(document.location.search.substr(1)));
		host = request.host;
		$("#txt")[0].value = localStorage[host];
	});
	function update() {
		localStorage[host] = $("#txt")[0].value;
		this.close();
	}
    </script>
  </head>
  <body>
  <form>
  <textarea id="txt"></textarea>
  <input type="button" value="update" onclick="update()" />
  </form>
  </body>
</html>
